package com.usian.apis.article;

import com.usian.model.article.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PathVariable;

public interface AuthorControllerApi {

    public ResponseResult save(ApAuthor apAuthor);

    public ApAuthor findByUserId(Integer id);

    public ApAuthor findByName(String name);

    //根据id查询作者详情，目地是为了获取作者的昵称
    public ApAuthor findById(Integer id);
}
